package org.example.system.controller;

import org.example.system.facade.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/user")
public class UserController {
    @Autowired
    private IUserService iUserService;

    @RequestMapping("/sayhello")
    public String sayhello() {
        iUserService.sayhello();
        return "hello";
    }
}
